package module.controller
{
	import module.view.ModuleJunctionMediator;
	import module.view.ModuleSampleMediator;
	
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

	public class StartupCommand extends SimpleCommand implements ICommand
	{
		override public function execute(notification:INotification):void{
			var app:ModuleSample = notification.getBody() as ModuleSample;
            
            // Register Mediators
            facade.registerMediator( new ModuleJunctionMediator() );
            facade.registerMediator( new ModuleSampleMediator( app ) );
		}	
	}
}